package com.shenxuchen.crm.service;

import com.shenxuchen.crm.pojo.User;

import java.util.List;

public interface UserService {
    User login(String username, String password, String userIP);

    User autoLogin(String username, String password, String userIP);

    void changePwd(String id, String oldPwd, String newPwd);

    void save(User user);

    List getOwners();
}
